﻿using OMG.Fill.Mulberry.Model.Ent;
using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Mulberry.Model
{
    /// <summary>
    /// 用户角色表T_UserRole查询条件
    /// </summary>
    public class UserRoleQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 角色编号
        /// </summary>
        public string RoleId{ get;set;}
        /// <summary>
        /// 用户编号
        /// </summary>
        public string UserId{ get;set;}
    }

    public class UserRoleItem
    {
        /// <summary>
        /// 角色编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        public bool _checked { get; set; }
    }

    public class UserRoleModel
    {
        public string UserId { get; set; }
        public List<UserRoleEntity> RoleList { get; set; }
    }

    public class UserActionItem
    {
        public string CtrlUrl { get; set; }
        public string ActionCode { get; set; }
    }
}
